package cn.pegasus.teamwork.pegasus.mapper;

import java.util.List;
import java.util.Map;

import cn.pegasus.teamwork.pegasus.entity.BussUserComment;
import cn.iyizhan.teamwork.base.mapper.BaseMapper;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussUserCommentMapper extends BaseMapper<BussUserComment>{
	
	//查询列表
	public List<BussUserComment> findListByPage(Map<String,Object> map);
	
	//根据评论ID查询该评论回复条数
	public int findCommentReplyTotal(Long id);

	public void addComment(BussUserComment comment);
	
	//查询评论
	public List<BussUserComment> findComment(Long id);
}